<?php
# PMB Online
# Aplikasi PMB Online untuk Pendaftaran Calon Mahasiswa di PT/PTS Indonesia
# 
# version 1.0
# class daftar_success
# file
# created Jan 23, 2013 2:32:34 AM
# 
# (c)2012, arif.laksito@gmail.com

if (!defined('BASEPATH'))
    exit('No direct script access allowed');
?>
<?php if (isset($msg)): ?>
    <div class="<?php echo ($sts) ? 'alert alert-success' : 'alert alert-error' ?>">
        <?php echo $msg ?>
    </div>
<?php endif ?>

<div class="row ins">
    <div class="span11">
        <legend>Data Pendaftar</legend>
        <dl class="dl-horizontal">
            <dt>No.Daftar</dt>
            <dd><?php echo $mhs['nodaf'] ?>*</dd>
            <dt>Gelombang</dt>
            <dd><?php echo $mhs['nama_gel'] ?></dd>
            <dt>Tgl.Daftar</dt>
            <dd><?php echo mdate('%d %M %Y', mysql_to_unix($mhs['tgl_daftar'])) ?></dd>
            <dt>Jenis Pendaftaran</dt>
            <dd><?php echo ($mhs['status_daftar'] == 0) ? "Reguler" : "Pindahan" ?></dd>
            <dt>Nama Lengkap</dt>
            <dd><?php echo $mhs['nama_lengkap'] ?></dd>
            <dt>Tempat/Tgl.Lahir</dt>
            <dd><?php echo $mhs['tempat_lahir'] . '/' . mdate('%d %M %Y', mysql_to_unix($mhs['tgl_lahir'])) ?></dd>
            <dt>Pilihan Jurusan</dt>
            <dd>
                <?php $jur = explode(',', $mhs['pilihan_jur'])?>
                <?php foreach($jur as $j){ echo ($j!='')?$j.'<br />':""; }?>                
            </dd>        
        </dl>

        <div>
            <small>*) Harap anda catat No.Daftar, karena akan digunakan untuk proses selanjutnya</small>
            <br /><br />
        </div>

        <div>
            <a target="_blank" class="btn btn-small btn-success" href="<?php echo base_url('web/cetak_bukti/' . $mhs['nodaf']) ?>">
                <i class="icon-print"></i> Bukti Daftar
            </a> 
            &nbsp;&nbsp;  
            <a target="_blank" class="btn btn-small btn-info" href="<?php echo base_url('web/cetak_biaya/' . $mhs['nodaf']) ?>">
                <i class="icon-print"></i> Perkiraan Biaya
            </a> 
        </div>

    </div>
</div>